package com.zqh.app.manager.impl;

import com.zqh.app.dao.UserMapper;
import com.zqh.app.dao.VersionMapper;
import com.zqh.app.entity.Version;
import com.zqh.app.manager.VersionManager;
import com.zqh.common.entity.Page;
import com.zqh.common.entity.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("versionManager")
public class VersionManagerImpl implements VersionManager {
    @Autowired
    VersionMapper versionMapper;
    @Override
    public List<Version> getVersion(Page<Version> page, Query search) {
        return versionMapper.listForPage(page,search);
    }
}
